package group.newsReader.Pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

public class News {
    @JsonProperty("news_id")
    private int news_id;
    @JsonProperty("title")
    private String title;
    @JsonProperty("content")
    private String content;
    @JsonProperty("publish_time")
    private String publish_time;
    @JsonProperty("source")
    private String source;
    @JsonProperty("cefr_level")
    private String cefr_level;
    @JsonProperty("category")
    private String category;

    public int getNews_id() {
        return news_id;
    }

    public void setNews_id(int news_id) {
        this.news_id = news_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPublish_time() {
        return publish_time;
    }

    public void setPublish_time(String publish_time) {
        this.publish_time = publish_time;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCefr_level() {
        return cefr_level;
    }

    public void setCefr_level(String cefr_level) {
        this.cefr_level = cefr_level;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public boolean isIs_hot() {
        return is_hot;
    }

    public void setIs_hot(boolean is_hot) {
        this.is_hot = is_hot;
    }

    public double[] getFeature_vector() {
        return feature_vector;
    }

    public void setFeature_vector(double[] feature_vector) {
        this.feature_vector = feature_vector;
    }

    @JsonProperty("is_hot")
    private boolean is_hot;
    @JsonProperty("feature_vector")
    private double[] feature_vector;
}
